#pragma once
#include "xmlhandler.h"
class XmlRequestMessageHandler :
	public XmlHandler
{
	static const int MAX_ATTRIBUTE_IN_REQUEST = 100;
public:
	char* subject;
	char* terminalType;
	
protected:
	Attribute* lsAttributes;
	int attributeCount;
public:
	XmlRequestMessageHandler(void);
	XmlRequestMessageHandler(char* xmlString);
	XmlRequestMessageHandler(char* subject, char* terminal);
	~XmlRequestMessageHandler(void);
	void setAttribute(Attribute* attributes, int size);
protected:
	void addAttributeType();
	void addBody();
};
